home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in.MAC</name>
- <id>-1</id>
- <cardCount>22</cardCount>
- <cardID>3321</cardID>
- <listID>6736</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on openStack
- global utcOffset
- put cd fld offsetHours of card setUTC into utcOffset
- set userLevel to 5
- put hilite of cd btn "bypassMe" of cd "menu" into temp
- if temp = false
- then
- go card "menu"
- else
- wait 1 seconds
- visual dissolve
- go card "world map"
- end if
- end openStack
-
- on closeStack
- global compFlag, selectedcountry
- lock screen
- push card
- put true into compflag
- go to card "World Map"
- click at the loc of bg btn "clear" of cd "World Map"
- click at the loc of cd btn "chooseMap" of cd "World Map"
- pop card
- unlock screen
- put false into compFlag
- put "" into selectedcountry
- end closeStack
-
- function UTCtime
- global utcOffset, hrMin
- put the seconds into now
- put the date into today
- convert today to seconds
- subtract today from now
- put now into ttime
- subtract utcOffset * 3600 from ttime
- convert ttime to short time
- if word 2 of ttime = "AM" or word 2 of ttime = "PM" then
- if char 1 to 2 of ttime = "12" then put "00" into char 1 to 2 of ttime
- end if
- if word 2 of ttime = "PM" then
- put offset(":",ttime) - 1 into hrMin
- put char 1 to hrMin of ttime into temp
- delete char 1 to hrMin of ttime
- add 12 to temp
- put temp before ttime
- delete word 2 of ttime
- end if
- if word 2 of ttime = "AM" then delete word 2 of ttime
- return ttime
- end UTCtime
-
- function UTCdate
- global utcOffset
- get the time
- put it into tdate
- convert tdate to seconds
- subtract utcOffset * 3600 from tdate
- convert tdate to short date
- return tdate
- end UTCdate
-
-
-
- function DaysBetweenDates startDate, endDate
- convert startDate to seconds
- convert endDate to seconds
- return ((endDate - startDate)/(60*60*24))
- end daysBetweenDates
- </script>
- <background id="2799" file="background_2799.xml" name="" />
- <background id="2955" file="background_2955.xml" name="" />
- <background id="5501" file="background_5501.xml" name="" />
- <background id="11054" file="background_11054.xml" name="" />
- <background id="15124" file="background_15124.xml" name="Demographics" />
- <background id="18471" file="background_18471.xml" name="SchedulePage" />
- <card id="3321" file="card_3321.xml" marked="false" name="menu" owner="2955" />
- <card id="6655" file="card_6655.xml" marked="false" name="World Map" owner="5501" />
- <card id="17872" file="card_17872.xml" marked="false" name="setUTC" owner="18471" />
- <card id="7608" file="card_7608.xml" marked="false" name="Oceania" owner="2799" />
- <card id="15945" file="card_15945.xml" marked="false" name="Australia" owner="15124" />
- <card id="29639" file="card_29639.xml" marked="false" name="Fiji" owner="15124" />
- <card id="35123" file="card_35123.xml" marked="false" name="Indonesia" owner="15124" />
- <card id="63270" file="card_63270.xml" marked="false" name="New Caledonia" owner="15124" />
- <card id="46081" file="card_46081.xml" marked="false" name="New Zealand" owner="15124" />
- <card id="48469" file="card_48469.xml" marked="false" name="Papua New Guinea" owner="15124" />
- <card id="60317" file="card_60317.xml" marked="false" name="Vanuatu" owner="15124" />
- <card id="14014" file="card_14014.xml" marked="false" name="About" owner="11054" />
- <card id="3712" file="card_3712.xml" marked="false" name="SQLCapture" owner="11054" />
- <card id="3945" file="card_3945.xml" marked="false" name="SQLCapture" owner="11054" />
- <card id="12254" file="card_12254.xml" marked="false" name="SQLCapture" owner="11054" />
- <card id="12450" file="card_12450.xml" marked="false" name="SQLCapture" owner="11054" />
- <card id="12688" file="card_12688.xml" marked="false" name="AboutRR" owner="11054" />
- <card id="13132" file="card_13132.xml" marked="false" name="" owner="11054" />
- <card id="12909" file="card_12909.xml" marked="false" name="SQLCapture" owner="11054" />
- <card id="8249" file="card_8249.xml" marked="false" name="Order" owner="11054" />
- <card id="9043" file="card_9043.xml" marked="false" name="SQLCapture" owner="11054" />
- <card id="9338" file="card_9338.xml" marked="false" name="ad" owner="11054" />
- </stack>
-